package com.irdstudio.apicenter.gateway.util;
/**
 * 空指针辅助处理类
 * @author guangming.li
 * @version 1.0
 * @date 2015-05-27
 */
public class NullUtil {
	
	/**
	 * 将空指针转的转换为非空指针的字符串
	 * 也即转换为""
	 * @return 
	 */
	public final static String formatNull(String str) {
		return str == null ? "" : str;
	}

}
